how to use chain action in selenium python